{php !defined('IN_MANAGE') && exit('Access Denied!');use phpWeChat\Form;use phpWeChat\Module;use phpWeChat\MySql;}

<!doctype html>

<html>

<head>

    <meta charset="UTF-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

    <title>微信公众平台管理系统</title>

    <link rel="stylesheet" type="text/css" href="{__PW_PATH__}admin/template/css/common.css"/>

    <link rel="stylesheet" type="text/css" href="{__PW_PATH__}admin/template/css/main.css"/>

    <link rel="stylesheet" type="text/css" href="{__PW_PATH__}statics/core.css"/>

    <link rel="stylesheet" type="text/css" href="{__PW_PATH__}statics/reveal/reveal.css"/>

	<script src="{__PW_PATH__}statics/jquery/jquery-1.12.2.min.js" language="javascript"></script>

    <script src="{__PW_PATH__}statics/reveal/jquery.reveal.js" language="javascript"></script>

	<script src="{__PW_PATH__}statics/core.js" language="javascript"></script>

    <script type="text/javascript" src="{__PW_PATH__}admin/template/js/libs/modernizr.min.js"></script>

    <script language="javascript" type="text/javascript">

		var PW_PATH='{__PW_PATH__}';

	</script>

</head>

<body>

    <div class="ifame-main-wrap">

        <div class="crumb-wrap">

            <div class="crumb-list"><i class="icon-font"></i><a href="{__PW_PATH__}{__ADMIN_FILE__}?file=index&action=main">管理首页</a><span class="crumb-step">&gt;</span><span class="crumb-name">导入模块</span></div>

        </div>

        <div class="result-wrap">

            <form action="" method="post" name="mysubmitform" id="mysubmitform" enctype="multipart/form-data">

            	<input type="hidden" value="1" name="dosubmit">

                <div class="config-items">

                    <div class="config-title">

                        <h1><i class="icon-font">&#xe018;</i>导入模块</h1>

                    </div>

                    <div class="result-content">

                        <table width="100%" class="insert-tab">

                                <tr class="formtr">

                                    <th class="formth" width="20%"><i class="require-red">*</i>选择模块导入文件：</th>

                                    <td class="formtd">

									<div class="upload_div">

										<span class="form_file">

										<div class="file_path" id="file_path"></div>

										<label class="file_btn">选择文件</label>

										<input type="file" name="modulezipfile" onChange="$('#file_path').text($('#modulezipfile').val());" id="modulezipfile" class="file">

										</span>

								   </div>

									<br>

									<font style="font-size:12px; color:#ccc">模块导入文件是一个ZIP格式的压缩文件包。</font>
									<br>
									<font style="font-size:12px; color:#ff0000">模块导入前请确认根目录下的addons目录以及子目录为0777（可读可写可修改）权限。</font>
									</td>

                                </tr>

                                <tr class="formtr">

                                    <th class="formth"></th>

                                    <td class="formtd">

                                        <input type="button" onClick="doSubmit('mysubmitform','')" value="提 交" class="submit-button">

                                        <input type="button" value="返 回" onClick="history.go(-1)" class="reset-button">

                                    </td>

                                </tr>

                        </table>

                    </div>

                </div>

            </form>

        </div>

    </div>

    <div class="statics-footer"> Powered by phpWeChat V{__PHPWECHAT_VERSION__}{__PHPWECHAT_RELEASE__} © , Processed in {php echo microtime()-$PW['time_start'];} second(s) , {MySql::$mQuery} queries <a href="#">至顶端↑</a></div>

</body>

</html>